import { INPUTSEARCH, BTNCONFIRM, DELLISTITEM } from './typeActions.js'

export const inputSearchAction=(value)=>({
    type: INPUTSEARCH,
    value: value
})

export const btnConfirmAction=()=>({
  type: BTNCONFIRM
})

export const delListItemAction=(index) => ({
  type: DELLISTITEM,
  index
})